﻿@using System.Web.UI.WebControls
@using DevExpress.Web.ASPxClasses
@using DevExpress.Web.Mvc.UI
@using Dogshow.Model
@model Pas

@Html.DevExpress().CallbackPanel(
    s =>
    {
        s.Name = "cbpPas";
        s.SetContent(() => @Html.RenderPartial("_PasForm", Model));
        s.CallbackRouteValues = new {Controller = "Psi", Action = "PasCallbackPanelCallback"};
        s.ClientSideEvents.BeginCallback = "onBeginUcitajPsa";
        s.Width = Unit.Pixel(500);
        s.Height = Unit.Pixel(200);
        s.LoadingPanelText = "Učitavam podatke...";
    }
).GetHtml()